xenpaging: remove domain_id and mfn from struct xenpaging_victim
authorKeir Fraser <keir@xen.org>
Tue, 11 Jan 2011 10:31:33 +0000 (10:31 +0000)
committerKeir Fraser <keir@xen.org>
Tue, 11 Jan 2011 10:31:33 +0000 (10:31 +0000)
commit56f2a91b86c48d976d9e7908b218575da740016d
tree7ced160eacb280d53f4b7f220f5efadf48dae808
parenta3b9de49c68310f0633cac62f1ab41813975390a
xenpaging: remove domain_id and mfn from struct xenpaging_victim

Remove unused member 'mfn' from struct xenpaging_victim.

xenpaging operates on a single guest, so it needs only a single
domain_id.  Remove domain_id from struct xenpaging_victim and use the
one from paging->mem_event where needed. Its not used in the policy.

This saves 4MB runtime data with a 1GB pagefile.

Signed-off-by: Olaf Hering <olaf@aepfle.de>
tools/xenpaging/policy.h
tools/xenpaging/policy_default.c
tools/xenpaging/xenpaging.c
tools/xenpaging/xenpaging.h